package com.aabte.nettyleran.netty.privateprotocolstack;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/3/15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NettyMessage {

    /**
     * 消息头
     */
    private Header header;
    /**
     * 消息体
     */
    private Object body;
}
